package com.choosefine.it.company.dao;

import java.util.Map;

import com.choosefine.it.company.model.CompanyPublishproject;
import com.choosefine.it.company.model.vo.CompanyPublishManagerVo;
import com.choosefine.it.company.model.vo.CompanyPublishProjectInfoVO;
import com.choosefine.it.company.model.vo.CompanyPublishProjectVO;
import com.github.pagehelper.Page;

public interface CompanyPublishprojectMapper {
    /**
     * 建筑公司招项目承包人
     * @author chenjian
     */
    int saveCompanyPublishproject(CompanyPublishproject record);
	/*项目经理找项目列表3.11yuxin*/
	public Page<CompanyPublishProjectVO> selectProjectList(Map<String, Object> params);
	/**
	 * 项目经理查看项目详情
	 * @author chenjian
	 */
	public CompanyPublishproject findProjectById(Integer publishId);
	/**
     * 建筑公司修改发布状态
     * @author chenjian
     */
    int updateCompanyPublishproject(Map<String, Object> params);
    /**
     * 建筑公司查询发布的项目
     * @author chenjian
     */
    public Page<CompanyPublishManagerVo> findPublishProjectList(Map<String, Object> params);
    /**
	 * 项目经理查看项目详情
	 * @author chenjian
	 */
    public CompanyPublishproject findCompanyPublishProjectDetailById(Integer publishId);
    /**
     * 根据id查找项目
     * @param publishId
     * @return
     */
	public CompanyPublishproject findCompanyPublishProjectById(Integer publishId);
	/**
	 *建筑公司修改招项目承包人信息
	 * @author chenjian
	 */
	public int updateCompanyPublishinfo(CompanyPublishproject record);
	/**
	 * 修改发布状态
	 * @author chenjian
	 * @time 2016-12-12 下午4:41:27
	 */
	public int updateFindProjectInfoPublishstatusByID(Map<String, Object> params);
	/**
	 * 删除发布信息
	 * @author chenjian
	 * @time 2016-12-16 下午8:17:29
	 */
	int deleteCompanyPublishProject(Map<String, Object> params);
	
	public Page<CompanyPublishManagerVo> selectCompanyFindManagerByCondition(Map<String, Object> params);
	
	public int updateVerifyStatus(Map<String, Object> params);
	
	public int deleteFindManager(Map<String, Object> params);
	/**
	 * @author chenjian
	 * @time 2016年12月23日下午3:56:31
	 */
	/*CompanyPublishProjectInfoVO findCompanyPublishProjectInfoById(Integer publishId);yuxin3.08*/

	int managerCollectionProject(Map<String, Object> params);//yuxin 项目经理收藏项目3.08
	int cancelCollectionProject(Map<String, Object> params);//yuxin 项目经理取消收藏项目3.08

}
